Skip to content

[net11.0] Align global.json with the RTM SDK dependency - #38951

Closed
kubaflo wants to merge 1 commit into
net11.0from
kubaflo-update-rc2-sdk-pin
Closed

kubaflo wants to merge 1 commit into
net11.0from
kubaflo-update-rc2-sdk-pin

Conversation

@kubaflo

@kubaflo kubaflo commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Summary

Update only global.json's tools.dotnet from 11.0.100-rc.2.26470.103 to 11.0.100-rtm.26473.115, matching the SDK already selected in eng/Versions.props and eng/Version.Details.xml. Runtime, workload, and other dependency pins are unchanged.

Failure addressed

In net11.0 maui-pr build 1613910, the Windows integration leg uses SDK 11.0.100-rtm.26473.115, but DotNetProjectTests.WorkloadInstallPathsAreIndependentOfTrailingSeparator reads the stale version from global.json and fails:

The repo-local .NET SDK directory does not exist: D:\a\_work\1\s\.dotnet\sdk\11.0.100-rc.2.26470.103

Aligning the bootstrap pin restores the expected configuration without changing the test or downgrading net11.0 to RC2. This is separate from #38950, whose selected final RC2 SDK is not yet available from the public SDK endpoints.

Validation

  • Parsed JSON/XML and confirmed that the bootstrap, SDK package property, and dependency metadata select the same RTM version and existing VMR SHA.
  • Confirmed HTTP 200 for that exact SDK's public Windows x64, macOS x64/Arm64, and Linux x64 archives.
  • git diff --check passes; the diff is one SDK-version line in global.json.
  • In maui-pr build 1614584, the actual Azure DevOps results confirm WorkloadInstallPathsAreIndependentOfTrailingSeparator passed on both Windows and macOS (runs 44696756 and 44694144). All build, pack, and integration-test jobs passed.

Remaining CI failure

The build is still red because the Helix monitor reports one failing Windows Debug work item: Microsoft.Maui.Resizetizer.UnitTests.dll. Its SkiaSharpSvgToolsTests+Resize.ColorizedReturnsColored test fails during fixture cleanup with System.IO.IOException: a temporary file is still in use when Resize.Dispose() calls File.Delete (SkiaSharpSvgToolsTests.cs:25). The actual failed result is run 44689494, result 105675.

This is a different failure from the missing SDK directory addressed here. It is not yet proven pre-existing or transient; the two inspected net11.0 baseline Helix-monitor jobs succeeded. A Helix unit-test stage rerun or further file-lock investigation is needed before claiming all CI is green.

Use 11.0.100-rtm.26473.115 from eng/Versions.props so workload path validation resolves the SDK actually installed by CI.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 28, 2026 12:09
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 38951

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 38951"

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Update the stale SDK reference in the documentation before approval.

Review effort: Lite
Findings: 1 Low severity

Open (1)
What changed in this PR

Updates the repository bootstrap SDK pin to match the RTM SDK used by MAUI dependency metadata.

Changes:

  • Changes global.json to SDK 11.0.100-rtm.26473.115.
  • Preserves other dependency pins.
File Summary
global.json Aligns the bootstrap SDK with repository metadata; related documentation still references the obsolete RC2 pin.

Comment thread global.json
{
"tools": {
"dotnet": "11.0.100-rc.2.26470.103"
"dotnet": "11.0.100-rtm.26473.115"
@kubaflo kubaflo closed this Sep 29, 2026
kubaflo added a commit that referenced this pull request Sep 29, 2026
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

## Description

The Apple Icon Composer tests added in #38958 fail in public CI
independently of the SDK change in #38972:

- Disable MSBuild node reuse for the new native-icon unit tests,
matching the existing incremental Resizetizer tests. Windows keeps the
test project directory locked while disposing the temporary fixture when
MSBuild nodes remain alive.
- Read the app bundle manifest at its platform-specific path (iOS app
root or Mac Catalyst `Contents`) instead of recursively requiring only
one `Info.plist` across the app and its nested frameworks. The iOS
template-baseline assertion currently throws before exercising the new
icon.

This PR targets `net11.0` so the fix can flow into
`release/11.0.1xx-rc2` via the regular branch merge. It supersedes
#38983, whose RC2-based head was not suitable after that PR was
retargeted to `net11.0`. The SDK PR #38972 contains neither test change
in its diff.

## Validation

- `NativeAppleIconTargetsTests`: 10 passed locally on macOS.
`Microsoft.Maui.IntegrationTests.csproj` builds for `net11.0` with zero
warnings; formatting and whitespace checks pass.
- The original failures appear in public `maui-pr` runs
[1615515](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1615515)
and
[1615611](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1615611);
the macOS manifest failure also occurred in baseline #38971 [build
1615388](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1615388).
- The first run on this PR,
[1616042](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1616042),
passed both Windows Helix Resizetizer work items. Its Mac Catalyst icon
integration test got past the former manifest assertion and built the
native icon, but a subsequent no-op build timed out amid several other
30-minute template-build timeouts; the macOS job eventually exceeded its
240-minute agent limit.
- A **same-commit rerun**,
[1616449](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1616449),
confirms both `BuildsAppleIconComposerMauiIconIncrementally` cases
**passed**: iOS and Mac Catalyst in Azure test run
[44759776](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=44759776&_a=runCharts).
The new Windows native-icon fixture did not fail. No further Apple-icon
code change or rerun is needed.
- **The full rerun is still red for independent failures:** Windows and
macOS `Build` integration each failed only
`WorkloadInstallPathsAreIndependentOfTrailingSeparator` because
`net11.0`'s `global.json` still requests old SDK `.103`, addressed by
#38951 and included in #38991. Its Windows Release Helix Resizetizer
work item failed
`SkiaSharpSvgToolsTests.Resize.BasicNoScaleReturnsOriginalSize` while
deleting a locked temporary file, not a `NativeAppleIconTargetsTests`
case. This PR intentionally does not change those unrelated tests.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 30, 2026

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 7e9c7f40 Deployed Sep 28, 2026 by kubaflo via conclusion #2115
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants